{{PAHS ROBOTICS OPERATING SYSTEM RESEARCH BUILD}}
{{Tuesday, February 17, 2012}}

CON
        _clkmode = xtal1 + pll16x                                               
        _xinfreq = 5_000_000

OBJ
  pst : "Parallax Serial Terminal"
  xbee : "XBee_Object"
  
PUB Intialize
  pst.start(115200)
  pst.str(String("Beginning to transmit packets...",13))
  repeat
    SendData
  
PUB SendData
  waitcnt(clkfreq/4 + cnt)
  
  xbee.tx(1)
  pst.str(String("Packet Sent",13))
  